﻿using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using Daybreak.Core.Network.Udp;
using TestUserPacket;

namespace ChatServer
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.Write("Enter local IP: ");
            string ip = Console.ReadLine();

            Console.Write("Enter port: ");
            string port = Console.ReadLine();

            UdpNetServer s = new UdpNetServer(Path.GetFullPath(@"TestUserPacket.dll"));
            s.Start(ip, int.Parse(port));

            Console.WriteLine("Server started ...");
            Console.ReadKey();

        }
    }
}
